package com.dfrobot.demo.domain.entity;

import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "df_coupon_seckill_history")
public class DfCouponSeckillHistory {
    @Id
    @Column(name = "coupon_history_id")
    private String couponHistoryId;

    @Column(name = "customer_id")
    private Integer customerId;

    @Column(name = "date_added")
    private Date dateAdded;

    @Column(name = "coupon_id")
    private Integer couponId;

    /**
     * 秒杀活动名称.一年一次
     */
    @Column(name = "group_name")
    private String groupName;

    /**
     * 场次
     */
    private String session;

    /**
     * 产品ID
     */
    @Column(name = "product_id")
    private Integer productId;
}